package com.mtsnake;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class MultiSnakeActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button bMulti = (Button)findViewById(R.id.button_multi);
        bMulti.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				Toast toast = Toast.makeText(getApplicationContext(), "multi_game has been clicked", Toast.LENGTH_LONG);
				toast.show();
				Intent it = new Intent(arg0.getContext(),MultiManageActivity.class);
				startActivity(it);
			}
		});
    }
}